CREATE TABLE [dbo].[TDSUBR_PROY]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NU_ANNO] [int] NOT NULL CONSTRAINT [DF__TDSUBR_PR__NU_AN__7E77B618] DEFAULT ((0)),
[NU_MESE] [int] NOT NULL CONSTRAINT [DF__TDSUBR_PR__NU_ME__7F6BDA51] DEFAULT ((0)),
[CO_MONE] [varchar] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CO_SUBR] [varchar] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[FE_PROY_EJEC] [datetime] NOT NULL,
[FE_DETA_DIGI] [datetime] NOT NULL,
[TI_REPO] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IM_DIGI] [numeric] (16, 4) NULL CONSTRAINT [DF__TDSUBR_PR__IM_DI__005FFE8A] DEFAULT ((0)),
[IM_EJEC] [numeric] (16, 4) NULL CONSTRAINT [DF__TDSUBR_PR__IM_EJ__015422C3] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDSUBR_PROY] ADD CONSTRAINT [PK__TDSUBR_P__17D9AB4727A4B434] PRIMARY KEY CLUSTERED  ([CO_EMPR]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDSUBR_PROY] ADD CONSTRAINT [FK__TDSUBR_PR__CO_EM__6E57283F] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
